package cn.bon.user.pojo.po;

import cn.bon.common.enums.bonuser.RoleStateEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/8 10:33
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "角色")
@TableName("role")
public class RolePo {
    @TableId(type = IdType.AUTO)
    @Schema(name = "角色id")
    private Integer roleId;
    @Schema(name = "角色编号")
    private String roleName;
    @Schema(name = "角色名")
    private String roleAlias;
    @Schema(name = "角色描述")
    private String roleDesc;
    @Schema(name = "角色排序")
    private String roleOrder;
    @Schema(name = "角色状态")
    private RoleStateEnum roleState;
}
